import request from '../utils/request';

export const GetSiganalrShow = query => {
    return request({
        url: 'https://localhost:44301/api/services/app/Announcement/GetShow',
        method: 'get',
        params: query
    });
};
export const GetSiganalrAdd = data => {
    return request({
        url: 'https://localhost:44301/api/services/app/Announcement/PostCreate',
        method: 'post',
        data: data
    });
};

export const GetSiganalr = query => {
    return request({
        url: 'https://localhost:44301/api/services/app/Announcement/GetNotificationaaaaaaa',
        method: 'get',
        params: query
    });
};

export const GetSiganalrFind = id => {
    return request({
        url: 'https://localhost:44301/api/services/app/Announcement/GetFindId?id=' + id,
        method: 'get',
    });
};

export const GetCount = query => {
    return request({
        url: 'https://localhost:44301/api/services/app/Announcement/GetCount',
        method: 'get',
        params: query
    });
};